package Demo1;

import java.util.Scanner;

public class StringDemo1 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String s1=sc.next();
        String s2=sc.nextLine();
        System.out.println(s1);
        System.out.println(s2);

    }
}
